import request from '@/utils/request'

// 查询投资团队列表
export function listGpSecurityTeam(query) {
  return request({
    url: '/team/gpSecurityTeam/list',
    method: 'get',
    params: query
  })
}

// 查询投资团队详细
export function getGpSecurityTeam(id) {
  return request({
    url: '/team/gpSecurityTeam/' + id,
    method: 'get'
  })
}

// 保存投资团队
export function saveGpSecurityTeam(data) {
  return request({
    url: '/team/gpSecurityTeam/save',
    method: 'post',
    data: data
  })
}

// 删除投资团队
export function delGpSecurityTeam(id) {
  return request({
    url: '/team/gpSecurityTeam/' + id,
    method: 'delete'
  })
}

// 导出投资团队
export function exportGpSecurityTeam(query) {
  return request({
    url: '/team/gpSecurityTeam/export',
    method: 'get',
    params: query
  })
}
